# Message code mappings for low-throughput messaging
MESSAGE_CODE_MAP = {
    "A1": "recallInfoMeshtasticLT",
    "A2": "recallInfoMeshtasticReturnLT",
    "B1": "recallHardwareMeshtasticLT",
    "B2": "recallHardwareMeshtasticReturnLT",
    "C1": "recallStatusMeshtasticLT",
    "C2": "recallStatusMeshtasticReturnLT",
    "D1": "findGPS_CoordinatesLT",
    "D2": "findGPS_CoordinatesResultsLT",
    "E1": "scanHardwareLT",
    "E2": "hardwareScanResultsLT",
    "F1": "probeHardwareLT",
    "F2": "hardwareProbeResultsLT",
    "G1": "guessHardwareLT",
    "G2": "hardwareGuessResultsLT",
    "H1": "autorunPlaylistExecuteLT",
    "H2": "autorunPlaylistStopLT",
    "I1": "alertReturnLT",
    "J1": "takPlotLT",
    "K1": "exploitLT",
    "L1": "takPlotGpsUpdateLT",
    "M1": "gpsBeaconEnableMeshtasticLT",
    "M2": "gpsBeaconDisableMeshtasticLT",
    "N1": "rebootMeshtasticLT",
    "O1": "uptimeMeshtasticLT",
    "O2": "uptimeMeshtasticReturnLT",
    "P1": "memoryMeshtasticLT",
    "P2": "memoryMeshtasticReturnLT",
    "Q1": "diskMeshtasticLT",
    "Q2": "diskMeshtasticReturnLT",
    "R1": "cpuMeshtasticLT",
    "R2": "cpuMeshtasticReturnLT",
    "S1": "processesMeshtasticLT",
    "S2": "processesMeshtasticReturnLT",
    "T1": "ifconfigMeshtasticLT",
    "T2": "ifconfigMeshtasticReturnLT",
    "U1": "iwconfigMeshtasticLT",
    "U2": "iwconfigMeshtasticReturnLT",
    "W1": "recvMeshtasticHeartbeatsLT",
    "Y1": "completeMeshtasticHandshakeLT",
    "Z1": "nodeSelectLT"
}

# Reverse mapping for sending messages
MESSAGE_NAME_TO_CODE = {v: k for k, v in MESSAGE_CODE_MAP.items()}
